package gwtappcontainer.server.apps.security;

import gwtappcontainer.server.apps.security.PrivilegeEntity;
import gwtappcontainer.server.apps.security.RoleEntity;
import gwtappcontainer.server.apps.security.UserEntity;

import com.googlecode.objectify.Objectify;
import com.googlecode.objectify.ObjectifyService;

class OfyService {
	
	static {
		ObjectifyService.factory().register(RoleEntity.class);
		ObjectifyService.factory().register(PrivilegeEntity.class);
		ObjectifyService.factory().register(UserEntity.class);
	}
	
	public static Objectify ofy() {
		return ObjectifyService.ofy();
	}		
}
